TARGET = kegboard-v3
MCU = atmega168
F_CPU = 16000000
ARDUINO_LIBS = EEPROM SoftwareSerial

UNAME_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')

ifeq ($(UNAME_S), Linux)
ARDUINO_DIR ?= /usr/local/arduino
ARDUINO_PORT ?= /dev/ttyUSB0

AVR_TOOLS_PATH ?= /usr/bin
AVRDUDE ?= $(ARDUINO_DIR)/hardware/tools/avrdude
AVRDUDE_CONF ?= $(ARDUINO_DIR)/hardware/tools/avrdude.conf
endif

ifeq ($(UNAME_S), Darwin)
ARDUINO_DIR ?= /Applications/arduino-0015
ARDUINO_PORT ?= /dev/cu.usb*
endif

include Arduino.mk
